/*
 * XML Type:  PresentmentBillInfo
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.PresentmentBillInfo
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04.impl;
/**
 * An XML PresentmentBillInfo(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public class PresentmentBillInfoImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.ofx.types.x2003.x04.PresentmentBillInfo
{
    
    public PresentmentBillInfoImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName BILLID$0 = 
        new javax.xml.namespace.QName("", "BILLID");
    private static final javax.xml.namespace.QName PRESACCTFROM$2 = 
        new javax.xml.namespace.QName("", "PRESACCTFROM");
    private static final javax.xml.namespace.QName PAYEEID$4 = 
        new javax.xml.namespace.QName("", "PAYEEID");
    private static final javax.xml.namespace.QName BILLREFINFO$6 = 
        new javax.xml.namespace.QName("", "BILLREFINFO");
    private static final javax.xml.namespace.QName AMTDUE$8 = 
        new javax.xml.namespace.QName("", "AMTDUE");
    private static final javax.xml.namespace.QName MINAMTDUE$10 = 
        new javax.xml.namespace.QName("", "MINAMTDUE");
    private static final javax.xml.namespace.QName DTPMTDUE$12 = 
        new javax.xml.namespace.QName("", "DTPMTDUE");
    private static final javax.xml.namespace.QName DTBILL$14 = 
        new javax.xml.namespace.QName("", "DTBILL");
    private static final javax.xml.namespace.QName DTOPEN$16 = 
        new javax.xml.namespace.QName("", "DTOPEN");
    private static final javax.xml.namespace.QName DTCLOSE$18 = 
        new javax.xml.namespace.QName("", "DTCLOSE");
    private static final javax.xml.namespace.QName PREVBAL$20 = 
        new javax.xml.namespace.QName("", "PREVBAL");
    private static final javax.xml.namespace.QName ACTIVITY$22 = 
        new javax.xml.namespace.QName("", "ACTIVITY");
    private static final javax.xml.namespace.QName ACCTBAL$24 = 
        new javax.xml.namespace.QName("", "ACCTBAL");
    private static final javax.xml.namespace.QName INVOICE$26 = 
        new javax.xml.namespace.QName("", "INVOICE");
    private static final javax.xml.namespace.QName NOTIFYDESIRED$28 = 
        new javax.xml.namespace.QName("", "NOTIFYDESIRED");
    private static final javax.xml.namespace.QName BILLTYPE$30 = 
        new javax.xml.namespace.QName("", "BILLTYPE");
    private static final javax.xml.namespace.QName BILLSTATUS$32 = 
        new javax.xml.namespace.QName("", "BILLSTATUS");
    private static final javax.xml.namespace.QName BILLPMTSTATUS$34 = 
        new javax.xml.namespace.QName("", "BILLPMTSTATUS");
    private static final javax.xml.namespace.QName STMNTIMAGE$36 = 
        new javax.xml.namespace.QName("", "STMNTIMAGE");
    private static final javax.xml.namespace.QName DETAILAVAILABLE$38 = 
        new javax.xml.namespace.QName("", "DETAILAVAILABLE");
    private static final javax.xml.namespace.QName BILLDETAILTABLE$40 = 
        new javax.xml.namespace.QName("", "BILLDETAILTABLE");
    
    
    /**
     * Gets the "BILLID" element
     */
    public java.lang.String getBILLID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BILLID$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "BILLID" element
     */
    public net.ofx.types.x2003.x04.IdType xgetBILLID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.IdType target = null;
            target = (net.ofx.types.x2003.x04.IdType)get_store().find_element_user(BILLID$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "BILLID" element
     */
    public void setBILLID(java.lang.String billid)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BILLID$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BILLID$0);
            }
            target.setStringValue(billid);
        }
    }
    
    /**
     * Sets (as xml) the "BILLID" element
     */
    public void xsetBILLID(net.ofx.types.x2003.x04.IdType billid)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.IdType target = null;
            target = (net.ofx.types.x2003.x04.IdType)get_store().find_element_user(BILLID$0, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.IdType)get_store().add_element_user(BILLID$0);
            }
            target.set(billid);
        }
    }
    
    /**
     * Gets the "PRESACCTFROM" element
     */
    public net.ofx.types.x2003.x04.PresentmentAccount getPRESACCTFROM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentAccount target = null;
            target = (net.ofx.types.x2003.x04.PresentmentAccount)get_store().find_element_user(PRESACCTFROM$2, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "PRESACCTFROM" element
     */
    public void setPRESACCTFROM(net.ofx.types.x2003.x04.PresentmentAccount presacctfrom)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentAccount target = null;
            target = (net.ofx.types.x2003.x04.PresentmentAccount)get_store().find_element_user(PRESACCTFROM$2, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.PresentmentAccount)get_store().add_element_user(PRESACCTFROM$2);
            }
            target.set(presacctfrom);
        }
    }
    
    /**
     * Appends and returns a new empty "PRESACCTFROM" element
     */
    public net.ofx.types.x2003.x04.PresentmentAccount addNewPRESACCTFROM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentAccount target = null;
            target = (net.ofx.types.x2003.x04.PresentmentAccount)get_store().add_element_user(PRESACCTFROM$2);
            return target;
        }
    }
    
    /**
     * Gets the "PAYEEID" element
     */
    public java.lang.String getPAYEEID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PAYEEID$4, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "PAYEEID" element
     */
    public net.ofx.types.x2003.x04.PayeeIdType xgetPAYEEID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PayeeIdType target = null;
            target = (net.ofx.types.x2003.x04.PayeeIdType)get_store().find_element_user(PAYEEID$4, 0);
            return target;
        }
    }
    
    /**
     * True if has "PAYEEID" element
     */
    public boolean isSetPAYEEID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PAYEEID$4) != 0;
        }
    }
    
    /**
     * Sets the "PAYEEID" element
     */
    public void setPAYEEID(java.lang.String payeeid)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PAYEEID$4, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PAYEEID$4);
            }
            target.setStringValue(payeeid);
        }
    }
    
    /**
     * Sets (as xml) the "PAYEEID" element
     */
    public void xsetPAYEEID(net.ofx.types.x2003.x04.PayeeIdType payeeid)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PayeeIdType target = null;
            target = (net.ofx.types.x2003.x04.PayeeIdType)get_store().find_element_user(PAYEEID$4, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.PayeeIdType)get_store().add_element_user(PAYEEID$4);
            }
            target.set(payeeid);
        }
    }
    
    /**
     * Unsets the "PAYEEID" element
     */
    public void unsetPAYEEID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PAYEEID$4, 0);
        }
    }
    
    /**
     * Gets the "BILLREFINFO" element
     */
    public java.lang.String getBILLREFINFO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BILLREFINFO$6, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "BILLREFINFO" element
     */
    public net.ofx.types.x2003.x04.BillRefInfoType xgetBILLREFINFO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillRefInfoType target = null;
            target = (net.ofx.types.x2003.x04.BillRefInfoType)get_store().find_element_user(BILLREFINFO$6, 0);
            return target;
        }
    }
    
    /**
     * True if has "BILLREFINFO" element
     */
    public boolean isSetBILLREFINFO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(BILLREFINFO$6) != 0;
        }
    }
    
    /**
     * Sets the "BILLREFINFO" element
     */
    public void setBILLREFINFO(java.lang.String billrefinfo)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BILLREFINFO$6, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BILLREFINFO$6);
            }
            target.setStringValue(billrefinfo);
        }
    }
    
    /**
     * Sets (as xml) the "BILLREFINFO" element
     */
    public void xsetBILLREFINFO(net.ofx.types.x2003.x04.BillRefInfoType billrefinfo)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillRefInfoType target = null;
            target = (net.ofx.types.x2003.x04.BillRefInfoType)get_store().find_element_user(BILLREFINFO$6, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.BillRefInfoType)get_store().add_element_user(BILLREFINFO$6);
            }
            target.set(billrefinfo);
        }
    }
    
    /**
     * Unsets the "BILLREFINFO" element
     */
    public void unsetBILLREFINFO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(BILLREFINFO$6, 0);
        }
    }
    
    /**
     * Gets the "AMTDUE" element
     */
    public java.lang.String getAMTDUE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AMTDUE$8, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "AMTDUE" element
     */
    public net.ofx.types.x2003.x04.AmountType xgetAMTDUE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AmountType target = null;
            target = (net.ofx.types.x2003.x04.AmountType)get_store().find_element_user(AMTDUE$8, 0);
            return target;
        }
    }
    
    /**
     * Sets the "AMTDUE" element
     */
    public void setAMTDUE(java.lang.String amtdue)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AMTDUE$8, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AMTDUE$8);
            }
            target.setStringValue(amtdue);
        }
    }
    
    /**
     * Sets (as xml) the "AMTDUE" element
     */
    public void xsetAMTDUE(net.ofx.types.x2003.x04.AmountType amtdue)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AmountType target = null;
            target = (net.ofx.types.x2003.x04.AmountType)get_store().find_element_user(AMTDUE$8, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.AmountType)get_store().add_element_user(AMTDUE$8);
            }
            target.set(amtdue);
        }
    }
    
    /**
     * Gets the "MINAMTDUE" element
     */
    public java.lang.String getMINAMTDUE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MINAMTDUE$10, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "MINAMTDUE" element
     */
    public net.ofx.types.x2003.x04.AmountType xgetMINAMTDUE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AmountType target = null;
            target = (net.ofx.types.x2003.x04.AmountType)get_store().find_element_user(MINAMTDUE$10, 0);
            return target;
        }
    }
    
    /**
     * True if has "MINAMTDUE" element
     */
    public boolean isSetMINAMTDUE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(MINAMTDUE$10) != 0;
        }
    }
    
    /**
     * Sets the "MINAMTDUE" element
     */
    public void setMINAMTDUE(java.lang.String minamtdue)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MINAMTDUE$10, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MINAMTDUE$10);
            }
            target.setStringValue(minamtdue);
        }
    }
    
    /**
     * Sets (as xml) the "MINAMTDUE" element
     */
    public void xsetMINAMTDUE(net.ofx.types.x2003.x04.AmountType minamtdue)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AmountType target = null;
            target = (net.ofx.types.x2003.x04.AmountType)get_store().find_element_user(MINAMTDUE$10, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.AmountType)get_store().add_element_user(MINAMTDUE$10);
            }
            target.set(minamtdue);
        }
    }
    
    /**
     * Unsets the "MINAMTDUE" element
     */
    public void unsetMINAMTDUE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(MINAMTDUE$10, 0);
        }
    }
    
    /**
     * Gets the "DTPMTDUE" element
     */
    public java.lang.String getDTPMTDUE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DTPMTDUE$12, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "DTPMTDUE" element
     */
    public net.ofx.types.x2003.x04.DateTimeType xgetDTPMTDUE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.DateTimeType target = null;
            target = (net.ofx.types.x2003.x04.DateTimeType)get_store().find_element_user(DTPMTDUE$12, 0);
            return target;
        }
    }
    
    /**
     * Sets the "DTPMTDUE" element
     */
    public void setDTPMTDUE(java.lang.String dtpmtdue)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DTPMTDUE$12, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DTPMTDUE$12);
            }
            target.setStringValue(dtpmtdue);
        }
    }
    
    /**
     * Sets (as xml) the "DTPMTDUE" element
     */
    public void xsetDTPMTDUE(net.ofx.types.x2003.x04.DateTimeType dtpmtdue)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.DateTimeType target = null;
            target = (net.ofx.types.x2003.x04.DateTimeType)get_store().find_element_user(DTPMTDUE$12, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.DateTimeType)get_store().add_element_user(DTPMTDUE$12);
            }
            target.set(dtpmtdue);
        }
    }
    
    /**
     * Gets the "DTBILL" element
     */
    public java.lang.String getDTBILL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DTBILL$14, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "DTBILL" element
     */
    public net.ofx.types.x2003.x04.DateTimeType xgetDTBILL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.DateTimeType target = null;
            target = (net.ofx.types.x2003.x04.DateTimeType)get_store().find_element_user(DTBILL$14, 0);
            return target;
        }
    }
    
    /**
     * Sets the "DTBILL" element
     */
    public void setDTBILL(java.lang.String dtbill)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DTBILL$14, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DTBILL$14);
            }
            target.setStringValue(dtbill);
        }
    }
    
    /**
     * Sets (as xml) the "DTBILL" element
     */
    public void xsetDTBILL(net.ofx.types.x2003.x04.DateTimeType dtbill)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.DateTimeType target = null;
            target = (net.ofx.types.x2003.x04.DateTimeType)get_store().find_element_user(DTBILL$14, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.DateTimeType)get_store().add_element_user(DTBILL$14);
            }
            target.set(dtbill);
        }
    }
    
    /**
     * Gets the "DTOPEN" element
     */
    public java.lang.String getDTOPEN()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DTOPEN$16, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "DTOPEN" element
     */
    public net.ofx.types.x2003.x04.DateTimeType xgetDTOPEN()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.DateTimeType target = null;
            target = (net.ofx.types.x2003.x04.DateTimeType)get_store().find_element_user(DTOPEN$16, 0);
            return target;
        }
    }
    
    /**
     * True if has "DTOPEN" element
     */
    public boolean isSetDTOPEN()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(DTOPEN$16) != 0;
        }
    }
    
    /**
     * Sets the "DTOPEN" element
     */
    public void setDTOPEN(java.lang.String dtopen)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DTOPEN$16, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DTOPEN$16);
            }
            target.setStringValue(dtopen);
        }
    }
    
    /**
     * Sets (as xml) the "DTOPEN" element
     */
    public void xsetDTOPEN(net.ofx.types.x2003.x04.DateTimeType dtopen)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.DateTimeType target = null;
            target = (net.ofx.types.x2003.x04.DateTimeType)get_store().find_element_user(DTOPEN$16, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.DateTimeType)get_store().add_element_user(DTOPEN$16);
            }
            target.set(dtopen);
        }
    }
    
    /**
     * Unsets the "DTOPEN" element
     */
    public void unsetDTOPEN()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(DTOPEN$16, 0);
        }
    }
    
    /**
     * Gets the "DTCLOSE" element
     */
    public java.lang.String getDTCLOSE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DTCLOSE$18, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "DTCLOSE" element
     */
    public net.ofx.types.x2003.x04.DateTimeType xgetDTCLOSE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.DateTimeType target = null;
            target = (net.ofx.types.x2003.x04.DateTimeType)get_store().find_element_user(DTCLOSE$18, 0);
            return target;
        }
    }
    
    /**
     * True if has "DTCLOSE" element
     */
    public boolean isSetDTCLOSE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(DTCLOSE$18) != 0;
        }
    }
    
    /**
     * Sets the "DTCLOSE" element
     */
    public void setDTCLOSE(java.lang.String dtclose)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DTCLOSE$18, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DTCLOSE$18);
            }
            target.setStringValue(dtclose);
        }
    }
    
    /**
     * Sets (as xml) the "DTCLOSE" element
     */
    public void xsetDTCLOSE(net.ofx.types.x2003.x04.DateTimeType dtclose)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.DateTimeType target = null;
            target = (net.ofx.types.x2003.x04.DateTimeType)get_store().find_element_user(DTCLOSE$18, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.DateTimeType)get_store().add_element_user(DTCLOSE$18);
            }
            target.set(dtclose);
        }
    }
    
    /**
     * Unsets the "DTCLOSE" element
     */
    public void unsetDTCLOSE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(DTCLOSE$18, 0);
        }
    }
    
    /**
     * Gets the "PREVBAL" element
     */
    public java.lang.String getPREVBAL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PREVBAL$20, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "PREVBAL" element
     */
    public net.ofx.types.x2003.x04.AmountType xgetPREVBAL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AmountType target = null;
            target = (net.ofx.types.x2003.x04.AmountType)get_store().find_element_user(PREVBAL$20, 0);
            return target;
        }
    }
    
    /**
     * True if has "PREVBAL" element
     */
    public boolean isSetPREVBAL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PREVBAL$20) != 0;
        }
    }
    
    /**
     * Sets the "PREVBAL" element
     */
    public void setPREVBAL(java.lang.String prevbal)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PREVBAL$20, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PREVBAL$20);
            }
            target.setStringValue(prevbal);
        }
    }
    
    /**
     * Sets (as xml) the "PREVBAL" element
     */
    public void xsetPREVBAL(net.ofx.types.x2003.x04.AmountType prevbal)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AmountType target = null;
            target = (net.ofx.types.x2003.x04.AmountType)get_store().find_element_user(PREVBAL$20, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.AmountType)get_store().add_element_user(PREVBAL$20);
            }
            target.set(prevbal);
        }
    }
    
    /**
     * Unsets the "PREVBAL" element
     */
    public void unsetPREVBAL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PREVBAL$20, 0);
        }
    }
    
    /**
     * Gets the "ACTIVITY" element
     */
    public java.lang.String getACTIVITY()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACTIVITY$22, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "ACTIVITY" element
     */
    public net.ofx.types.x2003.x04.AmountType xgetACTIVITY()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AmountType target = null;
            target = (net.ofx.types.x2003.x04.AmountType)get_store().find_element_user(ACTIVITY$22, 0);
            return target;
        }
    }
    
    /**
     * True if has "ACTIVITY" element
     */
    public boolean isSetACTIVITY()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(ACTIVITY$22) != 0;
        }
    }
    
    /**
     * Sets the "ACTIVITY" element
     */
    public void setACTIVITY(java.lang.String activity)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACTIVITY$22, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ACTIVITY$22);
            }
            target.setStringValue(activity);
        }
    }
    
    /**
     * Sets (as xml) the "ACTIVITY" element
     */
    public void xsetACTIVITY(net.ofx.types.x2003.x04.AmountType activity)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AmountType target = null;
            target = (net.ofx.types.x2003.x04.AmountType)get_store().find_element_user(ACTIVITY$22, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.AmountType)get_store().add_element_user(ACTIVITY$22);
            }
            target.set(activity);
        }
    }
    
    /**
     * Unsets the "ACTIVITY" element
     */
    public void unsetACTIVITY()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(ACTIVITY$22, 0);
        }
    }
    
    /**
     * Gets the "ACCTBAL" element
     */
    public java.lang.String getACCTBAL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACCTBAL$24, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "ACCTBAL" element
     */
    public net.ofx.types.x2003.x04.AmountType xgetACCTBAL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AmountType target = null;
            target = (net.ofx.types.x2003.x04.AmountType)get_store().find_element_user(ACCTBAL$24, 0);
            return target;
        }
    }
    
    /**
     * True if has "ACCTBAL" element
     */
    public boolean isSetACCTBAL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(ACCTBAL$24) != 0;
        }
    }
    
    /**
     * Sets the "ACCTBAL" element
     */
    public void setACCTBAL(java.lang.String acctbal)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACCTBAL$24, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ACCTBAL$24);
            }
            target.setStringValue(acctbal);
        }
    }
    
    /**
     * Sets (as xml) the "ACCTBAL" element
     */
    public void xsetACCTBAL(net.ofx.types.x2003.x04.AmountType acctbal)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AmountType target = null;
            target = (net.ofx.types.x2003.x04.AmountType)get_store().find_element_user(ACCTBAL$24, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.AmountType)get_store().add_element_user(ACCTBAL$24);
            }
            target.set(acctbal);
        }
    }
    
    /**
     * Unsets the "ACCTBAL" element
     */
    public void unsetACCTBAL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(ACCTBAL$24, 0);
        }
    }
    
    /**
     * Gets the "INVOICE" element
     */
    public net.ofx.types.x2003.x04.Invoice getINVOICE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Invoice target = null;
            target = (net.ofx.types.x2003.x04.Invoice)get_store().find_element_user(INVOICE$26, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "INVOICE" element
     */
    public boolean isSetINVOICE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(INVOICE$26) != 0;
        }
    }
    
    /**
     * Sets the "INVOICE" element
     */
    public void setINVOICE(net.ofx.types.x2003.x04.Invoice invoice)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Invoice target = null;
            target = (net.ofx.types.x2003.x04.Invoice)get_store().find_element_user(INVOICE$26, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.Invoice)get_store().add_element_user(INVOICE$26);
            }
            target.set(invoice);
        }
    }
    
    /**
     * Appends and returns a new empty "INVOICE" element
     */
    public net.ofx.types.x2003.x04.Invoice addNewINVOICE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Invoice target = null;
            target = (net.ofx.types.x2003.x04.Invoice)get_store().add_element_user(INVOICE$26);
            return target;
        }
    }
    
    /**
     * Unsets the "INVOICE" element
     */
    public void unsetINVOICE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(INVOICE$26, 0);
        }
    }
    
    /**
     * Gets the "NOTIFYDESIRED" element
     */
    public net.ofx.types.x2003.x04.BooleanType.Enum getNOTIFYDESIRED()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NOTIFYDESIRED$28, 0);
            if (target == null)
            {
                return null;
            }
            return (net.ofx.types.x2003.x04.BooleanType.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "NOTIFYDESIRED" element
     */
    public net.ofx.types.x2003.x04.BooleanType xgetNOTIFYDESIRED()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(NOTIFYDESIRED$28, 0);
            return target;
        }
    }
    
    /**
     * Sets the "NOTIFYDESIRED" element
     */
    public void setNOTIFYDESIRED(net.ofx.types.x2003.x04.BooleanType.Enum notifydesired)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NOTIFYDESIRED$28, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NOTIFYDESIRED$28);
            }
            target.setEnumValue(notifydesired);
        }
    }
    
    /**
     * Sets (as xml) the "NOTIFYDESIRED" element
     */
    public void xsetNOTIFYDESIRED(net.ofx.types.x2003.x04.BooleanType notifydesired)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(NOTIFYDESIRED$28, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.BooleanType)get_store().add_element_user(NOTIFYDESIRED$28);
            }
            target.set(notifydesired);
        }
    }
    
    /**
     * Gets the "BILLTYPE" element
     */
    public net.ofx.types.x2003.x04.BillTypeEnum.Enum getBILLTYPE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BILLTYPE$30, 0);
            if (target == null)
            {
                return null;
            }
            return (net.ofx.types.x2003.x04.BillTypeEnum.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "BILLTYPE" element
     */
    public net.ofx.types.x2003.x04.BillTypeEnum xgetBILLTYPE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillTypeEnum target = null;
            target = (net.ofx.types.x2003.x04.BillTypeEnum)get_store().find_element_user(BILLTYPE$30, 0);
            return target;
        }
    }
    
    /**
     * True if has "BILLTYPE" element
     */
    public boolean isSetBILLTYPE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(BILLTYPE$30) != 0;
        }
    }
    
    /**
     * Sets the "BILLTYPE" element
     */
    public void setBILLTYPE(net.ofx.types.x2003.x04.BillTypeEnum.Enum billtype)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BILLTYPE$30, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BILLTYPE$30);
            }
            target.setEnumValue(billtype);
        }
    }
    
    /**
     * Sets (as xml) the "BILLTYPE" element
     */
    public void xsetBILLTYPE(net.ofx.types.x2003.x04.BillTypeEnum billtype)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillTypeEnum target = null;
            target = (net.ofx.types.x2003.x04.BillTypeEnum)get_store().find_element_user(BILLTYPE$30, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.BillTypeEnum)get_store().add_element_user(BILLTYPE$30);
            }
            target.set(billtype);
        }
    }
    
    /**
     * Unsets the "BILLTYPE" element
     */
    public void unsetBILLTYPE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(BILLTYPE$30, 0);
        }
    }
    
    /**
     * Gets array of all "BILLSTATUS" elements
     */
    public net.ofx.types.x2003.x04.BillStatus[] getBILLSTATUSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(BILLSTATUS$32, targetList);
            net.ofx.types.x2003.x04.BillStatus[] result = new net.ofx.types.x2003.x04.BillStatus[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "BILLSTATUS" element
     */
    public net.ofx.types.x2003.x04.BillStatus getBILLSTATUSArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillStatus target = null;
            target = (net.ofx.types.x2003.x04.BillStatus)get_store().find_element_user(BILLSTATUS$32, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "BILLSTATUS" element
     */
    public int sizeOfBILLSTATUSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(BILLSTATUS$32);
        }
    }
    
    /**
     * Sets array of all "BILLSTATUS" element
     */
    public void setBILLSTATUSArray(net.ofx.types.x2003.x04.BillStatus[] billstatusArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(billstatusArray, BILLSTATUS$32);
        }
    }
    
    /**
     * Sets ith "BILLSTATUS" element
     */
    public void setBILLSTATUSArray(int i, net.ofx.types.x2003.x04.BillStatus billstatus)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillStatus target = null;
            target = (net.ofx.types.x2003.x04.BillStatus)get_store().find_element_user(BILLSTATUS$32, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(billstatus);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "BILLSTATUS" element
     */
    public net.ofx.types.x2003.x04.BillStatus insertNewBILLSTATUS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillStatus target = null;
            target = (net.ofx.types.x2003.x04.BillStatus)get_store().insert_element_user(BILLSTATUS$32, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "BILLSTATUS" element
     */
    public net.ofx.types.x2003.x04.BillStatus addNewBILLSTATUS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillStatus target = null;
            target = (net.ofx.types.x2003.x04.BillStatus)get_store().add_element_user(BILLSTATUS$32);
            return target;
        }
    }
    
    /**
     * Removes the ith "BILLSTATUS" element
     */
    public void removeBILLSTATUS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(BILLSTATUS$32, i);
        }
    }
    
    /**
     * Gets array of all "BILLPMTSTATUS" elements
     */
    public net.ofx.types.x2003.x04.BillPaymentstatus[] getBILLPMTSTATUSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(BILLPMTSTATUS$34, targetList);
            net.ofx.types.x2003.x04.BillPaymentstatus[] result = new net.ofx.types.x2003.x04.BillPaymentstatus[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "BILLPMTSTATUS" element
     */
    public net.ofx.types.x2003.x04.BillPaymentstatus getBILLPMTSTATUSArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillPaymentstatus target = null;
            target = (net.ofx.types.x2003.x04.BillPaymentstatus)get_store().find_element_user(BILLPMTSTATUS$34, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "BILLPMTSTATUS" element
     */
    public int sizeOfBILLPMTSTATUSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(BILLPMTSTATUS$34);
        }
    }
    
    /**
     * Sets array of all "BILLPMTSTATUS" element
     */
    public void setBILLPMTSTATUSArray(net.ofx.types.x2003.x04.BillPaymentstatus[] billpmtstatusArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(billpmtstatusArray, BILLPMTSTATUS$34);
        }
    }
    
    /**
     * Sets ith "BILLPMTSTATUS" element
     */
    public void setBILLPMTSTATUSArray(int i, net.ofx.types.x2003.x04.BillPaymentstatus billpmtstatus)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillPaymentstatus target = null;
            target = (net.ofx.types.x2003.x04.BillPaymentstatus)get_store().find_element_user(BILLPMTSTATUS$34, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(billpmtstatus);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "BILLPMTSTATUS" element
     */
    public net.ofx.types.x2003.x04.BillPaymentstatus insertNewBILLPMTSTATUS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillPaymentstatus target = null;
            target = (net.ofx.types.x2003.x04.BillPaymentstatus)get_store().insert_element_user(BILLPMTSTATUS$34, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "BILLPMTSTATUS" element
     */
    public net.ofx.types.x2003.x04.BillPaymentstatus addNewBILLPMTSTATUS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillPaymentstatus target = null;
            target = (net.ofx.types.x2003.x04.BillPaymentstatus)get_store().add_element_user(BILLPMTSTATUS$34);
            return target;
        }
    }
    
    /**
     * Removes the ith "BILLPMTSTATUS" element
     */
    public void removeBILLPMTSTATUS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(BILLPMTSTATUS$34, i);
        }
    }
    
    /**
     * Gets the "STMNTIMAGE" element
     */
    public net.ofx.types.x2003.x04.StatementImage getSTMNTIMAGE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.StatementImage target = null;
            target = (net.ofx.types.x2003.x04.StatementImage)get_store().find_element_user(STMNTIMAGE$36, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "STMNTIMAGE" element
     */
    public boolean isSetSTMNTIMAGE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(STMNTIMAGE$36) != 0;
        }
    }
    
    /**
     * Sets the "STMNTIMAGE" element
     */
    public void setSTMNTIMAGE(net.ofx.types.x2003.x04.StatementImage stmntimage)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.StatementImage target = null;
            target = (net.ofx.types.x2003.x04.StatementImage)get_store().find_element_user(STMNTIMAGE$36, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.StatementImage)get_store().add_element_user(STMNTIMAGE$36);
            }
            target.set(stmntimage);
        }
    }
    
    /**
     * Appends and returns a new empty "STMNTIMAGE" element
     */
    public net.ofx.types.x2003.x04.StatementImage addNewSTMNTIMAGE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.StatementImage target = null;
            target = (net.ofx.types.x2003.x04.StatementImage)get_store().add_element_user(STMNTIMAGE$36);
            return target;
        }
    }
    
    /**
     * Unsets the "STMNTIMAGE" element
     */
    public void unsetSTMNTIMAGE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(STMNTIMAGE$36, 0);
        }
    }
    
    /**
     * Gets the "DETAILAVAILABLE" element
     */
    public net.ofx.types.x2003.x04.BooleanType.Enum getDETAILAVAILABLE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DETAILAVAILABLE$38, 0);
            if (target == null)
            {
                return null;
            }
            return (net.ofx.types.x2003.x04.BooleanType.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "DETAILAVAILABLE" element
     */
    public net.ofx.types.x2003.x04.BooleanType xgetDETAILAVAILABLE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(DETAILAVAILABLE$38, 0);
            return target;
        }
    }
    
    /**
     * True if has "DETAILAVAILABLE" element
     */
    public boolean isSetDETAILAVAILABLE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(DETAILAVAILABLE$38) != 0;
        }
    }
    
    /**
     * Sets the "DETAILAVAILABLE" element
     */
    public void setDETAILAVAILABLE(net.ofx.types.x2003.x04.BooleanType.Enum detailavailable)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DETAILAVAILABLE$38, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DETAILAVAILABLE$38);
            }
            target.setEnumValue(detailavailable);
        }
    }
    
    /**
     * Sets (as xml) the "DETAILAVAILABLE" element
     */
    public void xsetDETAILAVAILABLE(net.ofx.types.x2003.x04.BooleanType detailavailable)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(DETAILAVAILABLE$38, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.BooleanType)get_store().add_element_user(DETAILAVAILABLE$38);
            }
            target.set(detailavailable);
        }
    }
    
    /**
     * Unsets the "DETAILAVAILABLE" element
     */
    public void unsetDETAILAVAILABLE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(DETAILAVAILABLE$38, 0);
        }
    }
    
    /**
     * Gets the "BILLDETAILTABLE" element
     */
    public net.ofx.types.x2003.x04.BillDetailTable getBILLDETAILTABLE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillDetailTable target = null;
            target = (net.ofx.types.x2003.x04.BillDetailTable)get_store().find_element_user(BILLDETAILTABLE$40, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "BILLDETAILTABLE" element
     */
    public boolean isSetBILLDETAILTABLE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(BILLDETAILTABLE$40) != 0;
        }
    }
    
    /**
     * Sets the "BILLDETAILTABLE" element
     */
    public void setBILLDETAILTABLE(net.ofx.types.x2003.x04.BillDetailTable billdetailtable)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillDetailTable target = null;
            target = (net.ofx.types.x2003.x04.BillDetailTable)get_store().find_element_user(BILLDETAILTABLE$40, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.BillDetailTable)get_store().add_element_user(BILLDETAILTABLE$40);
            }
            target.set(billdetailtable);
        }
    }
    
    /**
     * Appends and returns a new empty "BILLDETAILTABLE" element
     */
    public net.ofx.types.x2003.x04.BillDetailTable addNewBILLDETAILTABLE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillDetailTable target = null;
            target = (net.ofx.types.x2003.x04.BillDetailTable)get_store().add_element_user(BILLDETAILTABLE$40);
            return target;
        }
    }
    
    /**
     * Unsets the "BILLDETAILTABLE" element
     */
    public void unsetBILLDETAILTABLE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(BILLDETAILTABLE$40, 0);
        }
    }
}
